package com.hippoDocker.security.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hippoDocker.security.entity.UmsMemberLevel;
import com.hippoDocker.security.pojo.vo.UmsMemberLevelVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Pageable;
import java.util.List;

/**
 * 会员等级表(UmsMemberLevel)和会员表（UmsMember）数据库访问层
 *
 * @author makejava
 * @since 2022-08-02 10:53:16
 */
public interface UmsMemberLevelVODao extends BaseMapper<UmsMemberLevelVO> {


    /**
     * 连表会员和会员等级表查询
     * @param page
     * @return
     */
    IPage<UmsMemberLevelVO> pageUmsMemberLevel(Page<UmsMemberLevelVO> page);

    /**
     * 获取所有数据
     * @return
     */
    List<UmsMemberLevelVO> findAllLevel();
}

